Correctness By Construction: Better Can Also Be Cheaper

نویسنده

  • Peter Amey
چکیده

I n December 1999 CrossTalk [3], David Cook provided a well-reasoned historical analysis of programming language development and considered the role languages play in the software development process. The article was valuable because it showed that programming language developments are not sufficient to ensure success; however, it would be dangerous to conclude from this that they are not necessary for success. Cook rightly identifies other issues such as requirements capture, specifications, and verification and validation (V&V) that need to be addressed. Perhaps we need to look at programming languages not just in terms of their ability to code some particular design but in the influence the language has on some of these other vital aspects of the development process. The key notion is that of the benefit of a precise language or language subset. If the term subset has set anyone thinking " oh no, not another coding standard, " then read on, the topic is much more interesting and useful than that! Language Issues Programming languages have evolved in three main ways. First came improvements in structure; then attempts at improving compile-time error detection through such things as strong typing; and, most significantly , facilities to improve our ability to express abstractions. All of these have shaped the way we think about problem solving. However, programming languages have not evolved in their precision of expression. In fact, they may have actually gotten worse since the meaning of a sample of machine code is exact and unequivocal , whereas the meaning of the constructs of typical modern high-order languages are substantially less certain. The evolution of C into C++ certainly improved its ability to express design abstractions but, if anything, the predictability of the compiled code decreased. These ambiguities arise either from deficiencies in the original language definition or from implementation freedoms given to the compiler writer for ease of implementation or efficiency reasons. None of this may look like a very serious problem. We can still do code walk-throughs and reviews and, after all, we still have to do dynamic testing that should flush out any remaining ambiguities. In fact the evidence is quite strong that it does matter because it creates an environment where we are encouraged to make little attempt to reason about the software we are producing at each stage of its development. Since we typically do not have formal mathematical specifications and we use imprecise …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Effect of the Height Increasing on Steel Buildings Retrofitted by Buckling Restrained Bracing Systems and TTD Damper

The Behavior of conventional braced frames, are not the same in tension and compression. This problem can be improved by prevention of buckling under compressive loads, which is called buckling restrained brace(BRB). In this field TTD metal damper also have much attention due to simplicity in construction and execution. This damper is recommended because of accessing to better performance than ...

متن کامل

Translucent tile construction and its properties

Translucent tiles are among the tiles that have recently been featured. Passing part of the light is an important feature of these tiles. The passage of light from within, create a beautiful effect. In particular, it can be combined with LED, in which its beauty will be multiplied. In this research, the effect of using transparent frit and feldspar on porcelain tile composition was studied to o...

متن کامل

Assessment of Mechanical Properties of Concrete Containing Granite Slurry Waste (TECHNICAL NOTE)

The granite stone is the most widely used in the construction and granite slurry is generated through cutting and polishing of the stone. Granite slurry is waste material consisting of very fine powder and creats disposal and environmental problems in worldwide today. Disposal of granite waste leads to health hazards like respiratory and allergy problems to the people around. It also causes the...

متن کامل

A generic construction for voting correctness at minimum cost - Application to Helios

Most voting schemes aim at providing verifiability: voters should be able to check that their ballots did contribute to the outcome (individual verifiability) and that the tallying authorities did their job properly (universal verifiability). Surprisingly, verifiability still does not answer a very simple and natural question: how can I be sure that the published result corresponds to the (sum ...

متن کامل

Cost Effective Heat Exchanger Network Design with Mixed Materials of Construction

This paper presents a simple methodology for cost estimation of a near optimal heat exchanger network, which comprises mixed materials of construction. Intraditional pinch technology and mathematical programming it is usually assumed that all heat exchangers in a network obey a single cost model. This implies that all heat exchangers  in a network are of the same type and use the same mate...

متن کامل

Evaluting of Kaboodval dam during construction using finite clement method with software PLAXIS and a comparison with the actual values of instrumentation data

In this study, based on data from instrumentation Kaboodval earth dam, pore pressure, stresses and the meeting of the dam construction period compared with the values ​​of numerical analysis. For this purpose, during the construction of the dam using Mohr-Coulomb model behavior, the softening, hardening model has been analyzed and pore pressure, stresses in the body and its meeting with instrum...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2002